﻿using MyCode.Project.Domain.Businesses;
using MyCode.Project.Domain.Dtos.Common;
using MyCode.Project.Domain.Model;
using MyCode.Project.Domain.Procs;
using System;
using System.Collections.Generic;

namespace MyCode.Project.Services
{
    /// <summary>
    /// 在线支付 相关服务
    /// </summary>
    public interface IOnlinePayService
    {
        /// <summary>
        /// 单一在线付款方式的退款逻辑
        /// </summary>
        /// <param name="oriOrderPay"></param>
        /// <param name="sheetId"></param>
        /// <param name="shopId"></param>
        /// <param name="sheet"></param>
        /// <param name="payAmount">退款金额</param>
        ///  <param name="SheetType">业务类型。100=充值；8010=销售；8011=预售</param> 
        
        BusOrderRefundLog RefundMoney(BusOrderPay oriOrderPay, Guid sheetId, Guid shopId, string sheet, decimal payAmount, int SheetType);
    }
}
